import React, { memo } from 'react'

const Child = memo(({ getList }: any) => {
    console.log('child render')
    return (
        <div>
            {getList(10).map((item: any) => <div>
                {item.name}
            </div>)}
        </div>
    )
})

export default Child
